/*
 * BattleAfterEffect.h
 *
 *  Created on: 2013. 10. 28.
 *      Author: jjaehuny
 */

#ifndef PROJECTZ_NLOGIC_BATTLEAFTEREFFECT_H_
#define PROJECTZ_NLOGIC_BATTLEAFTEREFFECT_H_


#include "../ack.h"

namespace ProjectZ { namespace NLogic {

class BattleAfterEffect
{
public:
	struct Data
	{
		int _hasData; // -1 :no 1 : yes
		int _battle_type; // 0:PVP, 1: PK
		int _winRank; /// PVP : (0: 패배, 1: 승리), PK : (순위)
		int _win_point; // 승점 (PVP만 해당)
		int _evolve_point; // 진화포인트

		void Clear()
		{
			_hasData = ACK_NODATA_BATTLE_AFTER_EFFECT;
			_battle_type = 0;
			_winRank = 0;
			_win_point = 0;
			_evolve_point = 0;
		}
	};

public:
	BattleAfterEffect();
	virtual ~BattleAfterEffect();

	void 	Initialize();
	void 	Finalize();

	Data &	GetData();

private:
	Data	_data;
};

} /*NLogic*/ } /* namespace ProjectZ */

#endif /* PROJECTZ_NLOGIC_BATTLEAFTEREFFECT_H_ */
